package equipment.weapon;

public class DeathScythe {
	private double dmg;
	private String element;
	private double  souls;
	
	
	public DeathScythe(double dmg,String  element,double souls){
		this.dmg=dmg;
		this.element=element;
		this.souls=souls;
		
	}
	public void ElemCounter(){ 
		if(element.equals("silver")) //precondition swsto element
			
				dmg-=dmg*0.1;          /*kako silver*/
		   
		else
		        dmg+=dmg*0.1;
		
		
	
	}
	public double DmgRe(){ //for every souls its dmg is increased by 1%
		
		 souls=souls*0.01;
		 
		if(souls==0)        //penalty gia 0 souls
			dmg-=dmg*0.1;
			
		     
		else
			
			dmg+=dmg*souls;
		
		return dmg;
		
		 
	}
	
	
		
		
	
}
